package br.com.sysreserva.bo;

import java.util.List;

import br.com.sysreserva.dao.SalaDao;
import br.com.sysreserva.entity.Sala;


public class SalaBo {
	
	private static SalaDao salaDao = new SalaDao();
	
	public static Sala getSala(Long id){
		return salaDao.getSala(id);
	}
	public static void save(Sala sala){
		salaDao.save(sala);
	}
	public static void delete(Sala sala){
		salaDao.delete(sala);
	}
	public static void update(Sala sala){
		salaDao.update(sala);
	}
	public static List<Sala> lista(){
		return salaDao.listAll();
	}
	
}
